/*--------------------------------*- C++ -*----------------------------------*\
  =========                |
  \      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
   \    /   O peration     | Website:  https://openfoam.org
    \  /    A nd           | Version:  7
     \/     M anipulation  |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       dictionary;
    object      blockMeshDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

convertToMeters 1;

xmin 0;
xmax 500;
ymin -100;
ymax 100;
zmin 0;
zmax 1;

nx 250;
ny 100;

vertices
(
    ($xmin $ymin $zmin) // 0
    ($xmax $ymin $zmin) // 1
    ($xmax $ymax $zmin) // 2
    ($xmin $ymax $zmin) // 3
    ($xmin $ymin $zmax) // 4
    ($xmax $ymin $zmax) // 5
    ($xmax $ymax $zmax) // 6
    ($xmin $ymax $zmax) // 7

);

blocks
(
    hex (0 1 2 3 4 5 6 7) ($nx $ny 1) simpleGrading (1 1 1)
);

edges
(
);

boundary
(
    
    x0
    {
        type patch;
        faces (
            (0 4 7 3)
        );
    }

    x1
    {
        type patch;
        faces (
            (1 5 6 2)
        );
    }
    
    ydirection
    {
        type patch;
        faces (
            (0 1 5 4)
            (3 2 6 7)
        );
    }

    zdirection
    {
        type empty;
        faces (
            (0 1 2 3)
            (4 5 6 7)
        );
    } 
);

mergePatchPairs
(
);

// ************************************************************************* //
